package com.zzz.algorithm;

public class Jdk {

    public void test(String source, String target, int count) {
        //[-1, -1, 0, 1, -1, 0, 0, 1, 2]
        //[-1, 0, -1, 1, 0, 2, -1, 0, -1]
        for (int i = 0; i < count; i++) {
            source.indexOf(target);
        }
    }

}
